import Vue from 'vue'
import App from './App.vue'
import './registerServiceWorker'
import router from './router'
import store from './store'

import Vant from 'vant'
import 'vant/lib/index.css'
import { Dialog } from 'vant';


import './assets/font/iconfont.js'
import './assets/font/iconfont.css'
import { Lazyload } from 'vant';

Vue.use(Lazyload);
Vue.use(Vant);
// 全局注册
// Vue.use(Dialog);
Vue.use(Lazyload, {
  lazyComponent: true,
});
Vue.prototype.$dialog=Dialog

Vue.config.productionTip = false
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
